package com.parkinglot.core;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
public class WechatConfig {
    public final static String appid = "wxf92e6814d9c36303";
    public final static String secret = "361d9e9d94e42714b1ba47b9d056e5dc";

    //微信支付的商户id
    public static final String mch_id = "1559378051";
    //微信支付的商户密钥
    public static final String key = "adfe9eadd8e155cdb25ae498379b1952";
    //支付成功后的服务器回调url，这里填PayController里的回调函数地址
    public static final String notify_url = "";
    //签名方式，固定值
    public static final String SIGNTYPE = "MD5";
    //交易类型，小程序支付的固定值为JSAPI
    public static final String TRADETYPE = "JSAPI";
    //微信统一下单接口地址
   // public static final String pay_url = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    public static final String pay_url = "https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi";
}
